package com.zhaotianhao.serviceproduct.mapper;

import com.zhaotianhao.serviceproduct.dto.SpuQueryDTO;
import com.zhaotianhao.serviceproduct.entity.Spu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhaotianhao.serviceproduct.vo.SpuListVO;

import java.util.List;

/**
 * <p>
 * spu表，该表描述的是一个抽象性的商品，比如 iphone8 Mapper 接口
 * </p>
 *
 * @author Z-7
 * @since 2022-04-27
 */
public interface SpuMapper extends BaseMapper<Spu> {
    /**
     * spu列表的查询
     * @param spuQueryDTO
     * @return
     */
    List<SpuListVO> queryList(SpuQueryDTO spuQueryDTO);
}
